Closeable

public interface Closeable implements AutoCloseable

An object that may hold resources until it is closed.

Inheritors

Functions

Link copied to clipboard
public abstract void close()
Closes this object and releases all resources associated with it.
Link copied to clipboard
public abstract boolean isClosed()
Returns true if the current object is closed.